<template>
  <div class="banner">
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="#000">
      <van-swipe-item
        v-for="(item, index) in $store.state.home.banner"
        :key="index"
      >
        <img :src="item.image_url" alt="" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss">
.banner .my-swipe .van-swipe__indicator{
    background-color: #333;
}

.banner .my-swipe img{
  width: 100%;
  height: 100%;
}
</style>